<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
<meta name="decorator" content="center_common" />
<title>退换货记录</title>
<style type="text/css">
</style>
<script>
	$(function() {
		$('#test6').focus(function() {
			$(this).val()
		});
		laydate.render({
			elem : '#test6',
			format : 'yyyy-MM-dd'
		});

	})
</script>
</head>
<body>
	<!-- 右边部分 -->
	<div class="col-sm-10 pad20 pad_10">
		<div class="Credit_right">
			<!--快速下单-->
			<div class="goods_detail_info_box mar_16 clearfix">
				<h3>
					<span>退换货记录</span>
					<!--<a href="javascript:void(0)" class="add_address">+新增</a>-->
				</h3>
				<form action="${ctxWeb}/exchangeHistory" method="post">
				<div class="inquiry_box">
					<div class="Transaction_title clearfix">
						<p class="col-sm-7 Transaction_time pad_r0">
							<label>订单编号：</label> <input type="text" maxlength="30" class="demo-input"
								name="orderCode" value="">
						</p>
						<p class="col-sm-5 Transaction_time pad_r0">
							<label>退换货单号：</label> <input type="text" maxlength="30" class="demo-input"
								name="returnCode" value="">
						</p>
						<p class="col-sm-7 Transaction_time pad_r0">
							<label>退换货日期：</label> <input type="text" class="demo-input hy" name="allDate" value="" id="test6">
						</p>
						<p class="col-sm-5 Transaction_time pad_r0">
							<button class="search_button" >搜索</button>
						</p>
					</div>
				</div>
				</form>
				<!--快速下单表格-->
				<div class="our_adress_box">
					<div class="our_adress_table  clearfix">
						<table class="table table-bordered">
							<thead>
								<tr>
									<th>退换货单号</th>
									<th>订单编号</th>
									<th>订单总额</th>
									<th>退换货总额</th>
									<th>退换货日期</th>
									<th>退换货说明</th>
								</tr>
							</thead>
							<tbody>
								<c:forEach items="${list}" var="bean">
									<tr>
										<td><a href="${ctxWeb}/exchangeHistory/form?returnCode=${bean.returnCode}">${bean.returnCode}</a></td>
										<td><a href="javascript:void(0)">${bean.orderCode}</a></td>
										<td>${bean.ordersMoney}</td>
										<td>￥${bean.returnGoodsDetailMoney}</td>
										<td><fmt:formatDate value="${bean.createDate}"
												pattern="yyyy-MM-dd" /></td>
										<td>${bean.reason}</td>
									</tr>
								</c:forEach>
							</tbody>
						</table>

					</div>
				</div>
				<!--快速下单表格结束-->
			</div>
			<!--快速下单结束-->

		</div>
	</div>
	<!-- 右边部分 end-->
</body>
</html>
